-- GENERATED SPELL FOR [Carrion Vulture] --


function spell0_1809(pUnit, Event) --@Swoop,n/a--
pUnit:FullCastSpellOnTarget(5708,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1809', 2286, 1)
end

function Sorts_1809(pUnit, Event)
local choix_sorts_1809 = math.random(0, 0)
if choix_sorts_1809 == 0 then
pUnit:RegisterEvent('spell0_1809', 1, 1)
end
end

function mob1809_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1809', math.random(1500, 3000), 1)
end

function mob1809_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1809_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1809_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1809, 1, 'mob1809_Action')
RegisterUnitEvent(1809, 2, 'mob1809_Leave')
RegisterUnitEvent(1809, 3, 'mob1809_Kill')
RegisterUnitEvent(1809, 4, 'mob1809_Die')
